package com.yicoollxing.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yicoollxing.pojo.Voucher;

public interface VoucherMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Voucher record);

    int insertSelective(Voucher record);

    Voucher selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Voucher record);

    int updateByPrimaryKey(Voucher record);
    
    List<Voucher> searchVoucher(@Param("voucherId")Integer voucherId,@Param("useClassId")Integer useClassId,@Param("sourceName")String sourceName);
}